package com.dxy.data.webcloud.testclient.web;

import com.dxy.data.webcloud.testclient.feign.Up2uService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @CLassName: TestController
 * @Author: weixin
 * @Description: TODO
 * @DATE: 2018/11/11 4:12 PM
 * @Version: 1.0
 */
@RestController
public class TestController {

    @Autowired
    Up2uService up2uService;

    @GetMapping("/test")
    public void test() {
        System.out.println(up2uService.test());
    }
}
